package cx.v1.util;

import org.bouncycastle.util.encoders.Hex;
import org.bouncycastle.util.encoders.Base64;

public class Encoders {
    
   
    public static byte[] getHexEncode(byte[] info)
    {
        return Hex.encode(info);
    }
    
    public static byte[] getHexDecode(byte[] infoEnc)
    {
        return Hex.decode(infoEnc);
    }
    
    public static byte[] getBase64Encode(byte[] info)
    {
        return Base64.encode(info);
    }
    
    public static byte[] getBase64Decode(byte[] infoEnc)
    {
        return Base64.decode(infoEnc);
    }
    
}
